package com.olddriver.crm.service;

import com.olddriver.crm.domain.CompensationDetails;
import com.olddriver.crm.page.PageResult;
import com.olddriver.crm.query.CompensationDetailsQueryObject;
import com.olddriver.crm.query.CompensationQueryObject;
import com.olddriver.crm.query.QueryObject;

import java.util.List;

public interface ICompensationDetailsService {

    void deleteByPrimaryKey(Long id);

    void insert(CompensationDetails record, String sn);

    CompensationDetails selectByPrimaryKey(Long id);

    List<CompensationDetails> selectAll();

    void updateByPrimaryKey(CompensationDetails record);

    CompensationDetails selectDetailBySn(String sn);

    PageResult query(QueryObject qo);
}